//
//  HDAnnotation.h
//  HDMapKit
//
//  Created by HDNiuKuiming on 2017/5/16.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum{
    kPlay_Status_No,
    kPlay_Status_Yes,
    kPlay_Status_More,
    kPlay_Status_More_Read,
    kPlay_Status_Successive,           // 用于连续定位
    kPlay_Status_Service_Point_Begin,  // 用于服务定位起点
    kPlay_Status_Service_Point_End,    // 用于服务定位终点
    kPlay_Status_Ing,
}isPlayStatus;

@interface HDAnnotation : NSObject
{
    CGPoint   _point;
	NSString *_title;
	NSString *_subtitle;
    NSString *_identify;
	UIButton *_rightCalloutAccessoryView;
}
@property (nonatomic, assign) CGPoint    originalPoint;

@property (nonatomic, assign) CGPoint    point;         // 坐标
@property (nonatomic, strong) NSString   *title;        // 主坐标
@property (nonatomic, strong) NSString   *subtitle;     // 小坐标，一般不显示
@property (nonatomic, strong) NSString   *identify;     // 展品的编号
@property (nonatomic, strong) NSString   *type;         // 地图上POI的种类，分场景和讲解点两种
@property (nonatomic, strong) NSString   *poiImgPath;   // 展品的POI显示的图片

@property (nonatomic, assign) NSInteger      beaconNum;     // 当前点的蓝牙号
@property (nonatomic, assign) isPlayStatus   isPlay;        // 当前POI对应的展品的播放状态
@property (nonatomic, strong) UIButton       *rightCalloutAccessoryView;

+ (id)annotationWithPoint:(CGPoint)point;
- (id)initWithPoint:(CGPoint)point;

@end
